package com.fare.taluo.vo.core;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.ManyToOne;

import com.fare.taluo.base.ddd.domain.annontation.HBaseColumn;


public class CabinEntityVO {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4070869525286290754L;
	/**
	 * 所属航班
	 */
	private  String id ;
	
	private FreightPriceEntityVO planeInfoEntityVO;
	//仓位编号
	
	private String cabinNo;
	//仓位名称
	private String cabinName;
	//仓位默认价格（常用的净价）
	private Double price;
	//仓位打折率
	private Double cabinRebate;
	//仓位服务
	private String cabinServer;
	
	private String cabinType;
	
	private String lever;

	//对应海航舱位
	private String productName;
	
	List<CabinEntityVO> subCabins = new ArrayList<CabinEntityVO>();
	
	

	/**
	 * 子舱名称（如Y，A，C舱等） 一般依赖于仓位类型下面
	 */
	private String subCabinName;

	/**
	 * 折扣（如7.5折，0.75）
	 */
	private Double rebate;

	/**
	 * 仓位实际支付价格（包括了税务燃油等）
	 */
	private Double originalPrice;
	@Override
	public String toString() {
		return "CabinEntityVO [id=" + id + ", cabinNo=" + cabinNo
				+ ", cabinName=" + cabinName + ", price=" + price
				+ ", cabinRebate=" + cabinRebate + ", cabinServer="
				+ cabinServer + ", cabinType=" + cabinType + ", lever=" + lever
				+ ", productName=" + productName + ", subCabinName="
				+ subCabinName + ", rebate=" + rebate + ", originalPrice="
				+ originalPrice + ", backCash=" + backCash + ", mileageRatio="
				+ mileageRatio + ", tuigaiqian=" + tuigaiqian + ", zhijian="
				+ zhijian + ", lastSeatInfo=" + lastSeatInfo + "]";
	}
	/**
	 * 返现金额
	 */
	private Double backCash;
	/**
	 * 里程累计的比率（如 50%，0.5）
	 */
	private Double mileageRatio;
	/**
	 * 退改签信息
	 */
	private String tuigaiqian;

	/**
	 * 直减优惠（不同于返现，多见于艺龙携程，是属于网站自己的专享服务）
	 */
	private Double zhijian;
	/**
	 * 剩余座位信息(如 此仓位座位少5 预购从速等)
	 */
	private String lastSeatInfo;
	
	
	
	
	
	public FreightPriceEntityVO getPlaneInfoEntityVO() {
		return planeInfoEntityVO;
	}
	public void setPlaneInfoEntityVO(FreightPriceEntityVO planeInfoEntityVO) {
		this.planeInfoEntityVO = planeInfoEntityVO;
	}
	public String getCabinNo() {
		return cabinNo;
	}
	public void setCabinNo(String cabinNo) {
		this.cabinNo = cabinNo;
	}
	public String getCabinName() {
		return cabinName;
	}
	public void setCabinName(String cabinName) {
		this.cabinName = cabinName;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Double getCabinRebate() {
		return cabinRebate;
	}
	public void setCabinRebate(Double cabinRebate) {
		this.cabinRebate = cabinRebate;
	}
	public String getCabinServer() {
		return cabinServer;
	}
	public void setCabinServer(String cabinServer) {
		this.cabinServer = cabinServer;
	}
	public String getCabinType() {
		return cabinType;
	}
	public void setCabinType(String cabinType) {
		this.cabinType = cabinType;
	}
	public String getLever() {
		return lever;
	}
	public void setLever(String lever) {
		this.lever = lever;
	}
	public List<CabinEntityVO> getSubCabins() {
		return subCabins;
	}
	public void setSubCabins(List<CabinEntityVO> subCabins) {
		this.subCabins = subCabins;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getSubCabinName() {
		return subCabinName;
	}
	public void setSubCabinName(String subCabinName) {
		this.subCabinName = subCabinName;
	
	}
	public Double getRebate() {
		return rebate;
	}
	public void setRebate(Double rebate) {
		this.rebate = rebate;
	}
	public Double getOriginalPrice() {
		return originalPrice;
	}
	public void setOriginalPrice(Double originalPrice) {
		this.originalPrice = originalPrice;
	}
	public Double getBackCash() {
		return backCash;
	}
	public void setBackCash(Double backCash) {
		this.backCash = backCash;
	}
	public Double getMileageRatio() {
		return mileageRatio;
	}
	public void setMileageRatio(Double mileageRatio) {
		this.mileageRatio = mileageRatio;
	}
	public String getTuigaiqian() {
		return tuigaiqian;
	}
	public void setTuigaiqian(String tuigaiqian) {
		this.tuigaiqian = tuigaiqian;
	}
	public Double getZhijian() {
		return zhijian;
	}
	public void setZhijian(Double zhijian) {
		this.zhijian = zhijian;
	}
	public String getLastSeatInfo() {
		return lastSeatInfo;
	}
	public void setLastSeatInfo(String lastSeatInfo) {
		this.lastSeatInfo = lastSeatInfo;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	
	
}
